import xss from 'xss';

export default function(props) {
  const { value, text, title } = props.msgContent;
  return <div>
    <div>{title}</div>
    <div dangerouslySetInnerHTML={{__html: xss(value || text)}}></div>
  </div>
}